[Ivy]
[>Created: Mon Jan 28 14:03:45 ICT 2013]
13C61818368AC45E 3.17 #module
>Proto >Proto Collection #zClass
fs0 frmLoginProcess Big #zClass
fs0 RD #cInfo
fs0 #process
fs0 @TextInP .ui2RdDataAction .ui2RdDataAction #zField
fs0 @TextInP .rdData2UIAction .rdData2UIAction #zField
fs0 @TextInP .resExport .resExport #zField
fs0 @TextInP .type .type #zField
fs0 @TextInP .processKind .processKind #zField
fs0 @AnnotationInP-0n ai ai #zField
fs0 @TextInP .xml .xml #zField
fs0 @TextInP .responsibility .responsibility #zField
fs0 @RichDialogInitStart f0 '' #zField
fs0 @RichDialogProcessEnd f1 '' #zField
fs0 @RichDialogProcessStart f3 '' #zField
fs0 @RichDialogProcessEnd f4 '' #zField
fs0 @RichDialogProcessStep f6 '' #zField
fs0 @Alternative f11 '' #zField
fs0 @PushWFArc f5 '' #zField
fs0 @RichDialog f12 '' #zField
fs0 @PushWFArc f13 '' #zField
fs0 @RichDialogProcessStep f17 '' #zField
fs0 @PushWFArc f18 '' #zField
fs0 @RichDialogProcessStep f19 '' #zField
fs0 @PushWFArc f2 '' #zField
fs0 @CallSub f16 '' #zField
fs0 @PushWFArc f21 '' #zField
fs0 @PushWFArc f7 '' #zField
fs0 @RichDialogProcessStart f8 '' #zField
fs0 @RichDialogProcessStart f22 '' #zField
fs0 @RichDialogProcessEnd f23 '' #zField
fs0 @RichDialog f25 '' #zField
fs0 @PushWFArc f26 '' #zField
fs0 @PushWFArc f24 '' #zField
fs0 @RichDialogEnd f27 '' #zField
fs0 @PushWFArc f28 '' #zField
fs0 @PushWFArc f29 '' #zField
fs0 @RichDialogProcessStep f9 '' #zField
fs0 @PushWFArc f10 '' #zField
fs0 @PushWFArc f14 '' #zField
fs0 @PushWFArc f15 '' #zField
fs0 @RichDialogMethodStart f20 '' #zField
fs0 @RichDialogProcessEnd f30 '' #zField
fs0 @PushWFArc f31 '' #zField
>Proto fs0 fs0 frmLoginProcess #zField
fs0 f0 guid 13C618183763F169 #txt
fs0 f0 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f0 method start() #txt
fs0 f0 disableUIEvents true #txt
fs0 f0 inParameterDecl 'ch.ivyteam.ivy.richdialog.exec.RdMethodCallEvent methodEvent = event as ch.ivyteam.ivy.richdialog.exec.RdMethodCallEvent;
<> param = methodEvent.getInputArguments();
' #txt
fs0 f0 outParameterDecl '<> result;
' #txt
fs0 f0 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>start()</name>
    </language>
</elementInfo>
' #txt
fs0 f0 86 54 20 20 13 0 #rect
fs0 f0 @|RichDialogInitStartIcon #fIcon
fs0 f1 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f1 86 262 20 20 13 0 #rect
fs0 f1 @|RichDialogProcessEndIcon #fIcon
fs0 f3 guid 13C618F241537940 #txt
fs0 f3 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f3 actionDecl 'ch.ivy.demo.frmLogin.frmLoginData out;
' #txt
fs0 f3 actionTable 'out=in;
' #txt
fs0 f3 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>send</name>
        <nameStyle>4,5,7
</nameStyle>
    </language>
</elementInfo>
' #txt
fs0 f3 286 38 20 20 13 0 #rect
fs0 f3 @|RichDialogProcessStartIcon #fIcon
fs0 f4 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f4 286 390 20 20 13 0 #rect
fs0 f4 @|RichDialogProcessEndIcon #fIcon
fs0 f6 actionDecl 'ch.ivy.demo.frmLogin.frmLoginData out;
' #txt
fs0 f6 actionTable 'out=in;
' #txt
fs0 f6 actionCode 'ivy.log.info("request:" + ivy.#request.getParameter("txtUsername"));
ivy.log.info("in.username:" + in.userInfo.userName);
ivy.log.info("in.password:" + in.userInfo.password);' #txt
fs0 f6 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f6 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>prepare data</name>
        <nameStyle>12,7
</nameStyle>
    </language>
</elementInfo>
' #txt
fs0 f6 278 92 36 24 27 -8 #rect
fs0 f6 @|RichDialogProcessStepIcon #fIcon
fs0 f11 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f11 282 202 28 28 14 0 #rect
fs0 f11 @|AlternativeIcon #fIcon
fs0 f5 expr out #txt
fs0 f5 296 58 296 92 #arcP
fs0 f12 targetWindow NEW:card: #txt
fs0 f12 targetDisplay TOP #txt
fs0 f12 richDialogId ch.ivy.demo.frmInfo #txt
fs0 f12 startMethod start() #txt
fs0 f12 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f12 requestActionDecl '<> param;' #txt
fs0 f12 responseActionDecl 'ch.ivy.demo.frmLogin.frmLoginData out;
' #txt
fs0 f12 responseMappingAction 'out=in;
' #txt
fs0 f12 windowConfiguration '* ' #txt
fs0 f12 isAsynch false #txt
fs0 f12 isInnerRd true #txt
fs0 f12 userContext '* ' #txt
fs0 f12 278 324 36 24 20 -2 #rect
fs0 f12 @|RichDialogIcon #fIcon
fs0 f13 expr out #txt
fs0 f13 296 348 296 390 #arcP
fs0 f17 actionDecl 'ch.ivy.demo.frmLogin.frmLoginData out;
' #txt
fs0 f17 actionTable 'out=in;
' #txt
fs0 f17 actionCode 'in.messsage = ivy.cms.co("/ch/ivy/demo/error/Loginfailed");

ivy.log.info("in.username:" + in.userInfo.userName);
ivy.log.info("in.password:" + in.userInfo.password);
ivy.log.info("in.messsage:" + in.messsage);' #txt
fs0 f17 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f17 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>set message</name>
        <nameStyle>11,7
</nameStyle>
    </language>
</elementInfo>
' #txt
fs0 f17 358 204 36 24 -32 -33 #rect
fs0 f17 @|RichDialogProcessStepIcon #fIcon
fs0 f18 expr in #txt
fs0 f18 310 216 358 216 #arcP
fs0 f19 actionDecl 'ch.ivy.demo.frmLogin.frmLoginData out;
' #txt
fs0 f19 actionTable 'out=in;
' #txt
fs0 f19 actionCode 'import ch.ivy.demo.UserInfo;
in.userInfo = new UserInfo();' #txt
fs0 f19 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f19 78 172 36 24 20 -2 #rect
fs0 f19 @|RichDialogProcessStepIcon #fIcon
fs0 f2 expr out #txt
fs0 f2 96 196 96 262 #arcP
fs0 f16 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f16 processCall 'Functional Processes/SubProcess/LoginSubProcess:loginSub(ch.ivy.demo.UserInfo)' #txt
fs0 f16 doCall true #txt
fs0 f16 requestActionDecl '<ch.ivy.demo.UserInfo userInfo> param;
' #txt
fs0 f16 requestMappingAction 'param.userInfo=in.userInfo;
' #txt
fs0 f16 responseActionDecl 'ch.ivy.demo.frmLogin.frmLoginData out;
' #txt
fs0 f16 responseMappingAction 'out=in;
out.userInfo=result.userInfo;
' #txt
fs0 f16 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>loginSub(UserInfo)</name>
        <nameStyle>18,5,7
</nameStyle>
    </language>
</elementInfo>
' #txt
fs0 f16 278 148 36 24 20 -2 #rect
fs0 f16 @|CallSubIcon #fIcon
fs0 f21 expr out #txt
fs0 f21 296 116 296 148 #arcP
fs0 f7 expr out #txt
fs0 f7 296 172 296 202 #arcP
fs0 f8 guid 13C655DA43C74BD0 #txt
fs0 f8 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f8 actionDecl 'ch.ivy.demo.frmLogin.frmLoginData out;
' #txt
fs0 f8 actionTable 'out=in;
' #txt
fs0 f8 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>close</name>
        <nameStyle>5,5,7
</nameStyle>
    </language>
</elementInfo>
' #txt
fs0 f8 494 54 20 20 13 0 #rect
fs0 f8 @|RichDialogProcessStartIcon #fIcon
fs0 f22 guid 13C655EFD548F89A #txt
fs0 f22 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f22 actionDecl 'ch.ivy.demo.frmLogin.frmLoginData out;
' #txt
fs0 f22 actionTable 'out=in;
' #txt
fs0 f22 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>signup</name>
        <nameStyle>6,5,7
</nameStyle>
    </language>
</elementInfo>
' #txt
fs0 f22 678 62 20 20 13 0 #rect
fs0 f22 @|RichDialogProcessStartIcon #fIcon
fs0 f23 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f23 678 222 20 20 13 0 #rect
fs0 f23 @|RichDialogProcessEndIcon #fIcon
fs0 f25 targetWindow NEW:card: #txt
fs0 f25 targetDisplay TOP #txt
fs0 f25 richDialogId ch.ivy.demo.frmSignUp #txt
fs0 f25 startMethod start() #txt
fs0 f25 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f25 requestActionDecl '<> param;' #txt
fs0 f25 responseActionDecl 'ch.ivy.demo.frmLogin.frmLoginData out;
' #txt
fs0 f25 responseMappingAction 'out=in;
' #txt
fs0 f25 windowConfiguration '* ' #txt
fs0 f25 isAsynch false #txt
fs0 f25 isInnerRd true #txt
fs0 f25 userContext '* ' #txt
fs0 f25 670 124 36 24 20 -2 #rect
fs0 f25 @|RichDialogIcon #fIcon
fs0 f26 expr out #txt
fs0 f26 688 82 688 124 #arcP
fs0 f24 expr out #txt
fs0 f24 688 148 688 222 #arcP
fs0 f27 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f27 guid 13C658FC674657B7 #txt
fs0 f27 494 174 20 20 13 0 #rect
fs0 f27 @|RichDialogEndIcon #fIcon
fs0 f28 expr out #txt
fs0 f28 504 74 504 174 #arcP
fs0 f29 expr out #txt
fs0 f29 376 228 306 400 #arcP
fs0 f29 1 376 400 #addKink
fs0 f29 0 0.8041048185752951 0 0 #arcLabel
fs0 f9 actionDecl 'ch.ivy.demo.frmLogin.frmLoginData out;
' #txt
fs0 f9 actionTable 'out=in;
' #txt
fs0 f9 actionCode 'ivy.session.setAttribute("user",in.userInfo);
in.messsage ="";' #txt
fs0 f9 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f9 278 260 36 24 20 -2 #rect
fs0 f9 @|RichDialogProcessStepIcon #fIcon
fs0 f10 expr in #txt
fs0 f10 outCond 'in.userInfo.isSuccessful == true' #txt
fs0 f10 296 230 296 260 #arcP
fs0 f14 expr out #txt
fs0 f14 296 284 296 324 #arcP
fs0 f15 expr out #txt
fs0 f15 96 74 96 172 #arcP
fs0 f20 guid 13C7FF7AF7C50457 #txt
fs0 f20 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f20 method test() #txt
fs0 f20 disableUIEvents false #txt
fs0 f20 inParameterDecl 'ch.ivyteam.ivy.richdialog.exec.RdMethodCallEvent methodEvent = event as ch.ivyteam.ivy.richdialog.exec.RdMethodCallEvent;
<> param = methodEvent.getInputArguments();
' #txt
fs0 f20 outParameterDecl '<> result;
' #txt
fs0 f20 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>test()</name>
    </language>
</elementInfo>
' #txt
fs0 f20 902 70 20 20 13 0 #rect
fs0 f20 @|RichDialogMethodStartIcon #fIcon
fs0 f30 type ch.ivy.demo.frmLogin.frmLoginData #txt
fs0 f30 902 230 20 20 13 0 #rect
fs0 f30 @|RichDialogProcessEndIcon #fIcon
fs0 f31 expr out #txt
fs0 f31 912 90 912 230 #arcP
>Proto fs0 .type ch.ivy.demo.frmLogin.frmLoginData #txt
>Proto fs0 .processKind RICH_DIALOG #txt
>Proto fs0 .xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <swimlaneLabel>Start</swimlaneLabel>
        <swimlaneLabel>Events</swimlaneLabel>
        <swimlaneLabel></swimlaneLabel>
    </language>
    <swimlaneSize>192</swimlaneSize>
    <swimlaneSize>584</swimlaneSize>
    <swimlaneColor>-16711936</swimlaneColor>
    <swimlaneColor>-16711681</swimlaneColor>
</elementInfo>
' #txt
>Proto fs0 -8 -8 16 16 16 26 #rect
>Proto fs0 '' #fIcon
fs0 f3 mainOut f5 tail #connect
fs0 f5 head f6 mainIn #connect
fs0 f12 mainOut f13 tail #connect
fs0 f13 head f4 mainIn #connect
fs0 f18 head f17 mainIn #connect
fs0 f19 mainOut f2 tail #connect
fs0 f2 head f1 mainIn #connect
fs0 f6 mainOut f21 tail #connect
fs0 f21 head f16 mainIn #connect
fs0 f16 mainOut f7 tail #connect
fs0 f7 head f11 in #connect
fs0 f22 mainOut f26 tail #connect
fs0 f26 head f25 mainIn #connect
fs0 f25 mainOut f24 tail #connect
fs0 f24 head f23 mainIn #connect
fs0 f8 mainOut f28 tail #connect
fs0 f28 head f27 mainIn #connect
fs0 f17 mainOut f29 tail #connect
fs0 f29 head f4 mainIn #connect
fs0 f11 out f10 tail #connect
fs0 f10 head f9 mainIn #connect
fs0 f11 out f18 tail #connect
fs0 f9 mainOut f14 tail #connect
fs0 f14 head f12 mainIn #connect
fs0 f0 mainOut f15 tail #connect
fs0 f15 head f19 mainIn #connect
fs0 f20 mainOut f31 tail #connect
fs0 f31 head f30 mainIn #connect
